home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / groups.z / groups
Text File  |  1998-10-20  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGRRRROOOOUUUUPPPPSSSS((((1111))))                                                            GGGGRRRROOOOUUUUPPPPSSSS((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      groups - show group memberships
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ggggrrrroooouuuuppppssss [[[[uuuusssseeeerrrr]]]]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The _g_r_o_u_p_s command shows the groups to which you or the optionally
  16.      specified user belong.  Each user belongs to a group specified in the
  17.      password file ////eeeettttcccc////ppppaaaasssssssswwwwdddd and possibly to other groups as specified in
  18.      the file ////eeeettttcccc////ggggrrrroooouuuupppp.  Invoking _g_r_o_u_p_s without a _u_s_e_r specified executes a
  19.      _g_e_t_g_r_o_u_p_s system call, which returns the grouplist of which the process
  20.      is currently a member.  This list will contain only the effective group
  21.      ID unless a _m_u_l_t_g_r_p_s call has been executed; in that case it will contain
  22.      all groups in ////eeeettttcccc////ggggrrrroooouuuupppp to which the user belongs.  If you do not own a
  23.      file but belong to the group which owns it then you are granted group
  24.      access to the file.
  25.  
  26.      When creating a new file, if the underlying filesystem was mounted with
  27.      the BSD file creation semantics flag [see _f_s_t_a_b(4)] or the SSSS____IIIISSSSGGGGIIIIDDDD bit is
  28.      set [see _c_h_m_o_d(2)] on the parent directory, then the group ID of the new
  29.      file is set to the group ID of the parent directory, otherwise it is set
  30.      to the effective group ID of the calling process.
  31.  
  32.      The maximum number of groups of which a process may be a member is
  33.      defined (as an lbootable option) in ////vvvvaaaarrrr////ssssyyyyssssggggeeeennnn////mmmmaaaasssstttteeeerrrr....dddd////kkkkeeeerrrrnnnneeeellll, named
  34.      NNNNGGGGRRRROOOOUUUUPPPPSSSS____MMMMAAAAXXXX.
  35.  
  36. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  37.      multgrps(1), newgrp(1), id(1), setgroups(2), open(2)
  38.  
  39. FFFFIIIILLLLEEEESSSS
  40.      /etc/passwd, /etc/group
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.